<template>
	<view>
		<view class="search-view">
			<view class="search-input">
				<input type="text" placeholder="搜索框">
			</view>
			<view class="search-button">
				<u-button type="primary" shape="circle" size="small" text="搜索"></u-button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"search-box",
		data() {
			return {
				
			};
		}
	}
</script>

<style scoped>
.search-view {
		width: 99%;
		margin: 0 auto;
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-evenly;
		align-items: center;
		position: relative;
	}

	.search-input {
		width: 80%;
		height: 45upx;
		padding: 5upx 20upx 5upx 20upx;
		border: 1px solid #3c9cff;
		border-radius: 40px;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
	}


	.search-button {
		width: 10%;
		position: relative;
		right: 60upx;
	}
</style>